home *** CD-ROM | disk | FTP | other *** search
/ Nebula 1 / Nebula One.iso / Internet / News / Alexandra.0.82 / Source / NiceStuff.subproj / MiscTableController.h < prev    next >
Encoding:
Text File  |  1996-01-30  |  735 b   |  44 lines

  1.  
  2. #import <objc/Object.h>
  3.  
  4. @class MiscList, DBTableView, KVPair;
  5.  
  6. @protocol MiscTCRow
  7.  
  8. - (void *)insertKey:(const void *)aKey value:(void *)aValue;
  9. - (void *)valueForKey:(const void *)aKey;
  10.  
  11. @end
  12.     
  13. @interface MiscTableController:Object
  14.     {
  15.     NXAtom        *identifiers;
  16.     MiscList    *rows;
  17.     DBTableView    *tableView;
  18.     id            delegate;
  19.     }
  20.     
  21. - init;
  22.  
  23. - (MiscList *)rows;
  24. - (unsigned int)rowCount;
  25.  
  26. - setTableView:(DBTableView *)aView withIdentifiers:(NXAtom *)ids;
  27. - (DBTableView *)tableView;
  28. - (NXAtom *)identifiers;
  29.  
  30. - setDelegate:anObject;
  31. - delegate;
  32.  
  33. - addRow:(id <MiscTCRow>)row;
  34. - addRowsFrom:(List *)list;
  35.  
  36. - removeSelectedRow:sender;
  37. - empty:sender;
  38.  
  39. - miscTableController:sender valueDidChangeFor:identifier at:(unsigned int)position;
  40.  
  41. @end
  42.  
  43.  
  44.